#include <stdio.h>
int main()
{
    short x;
    char x0;
    x = 0x1122;
    x0 = ((char*)&x)[0];
    if(x0 == 0x11) {
        printf("学号20175227的笔记本电脑是大端");
    }
    else {
        printf("学号20175227的笔记本电脑是小端");
    }
    return 0;
}
